package com.spring.arch.uaa.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: nandy
 * @createDate: 2019/11/6 15:54
 * @description:
 */
@Data
public class TenantEmployeeExportBean implements Serializable {

    private static final long serialVersionUID = 8514392769469373496L;

    /**
     * 公司名
     */
    @ExcelProperty(value = "company", index = 0)
    private String department;
    
    /**
     * 物业子系统名称
     */
    @ExcelProperty(value = "物业子系统名称", index = 1)
    private String company;
    
//    /**
//     * 员工编号
//     */
//    @ExcelProperty(value = "工号", index = 0)
//    private String code;

    /**
     * 人员姓名
     */
    @ExcelProperty(value = "realname", index = 2)
    private String realname;

    /**
     * 手机号码
     */
    @ExcelProperty(value = "mobile", index = 3)
    private String mobile;

    /**
     * 密码
     */
    @ExcelProperty(value = "password", index = 4)
    private String password;

    /**
     * 盐值
     */
    @ExcelProperty(value = "salt", index = 5)
    private String salt;

    /**
     * 性别
     */
    @ExcelProperty(value = "sex", index = 6)
    private Integer gender;

    /**
     * 邮箱
     */
    @ExcelProperty(value = "email", index = 7)
    private String email;

    /**
     * 组织名
     */
    @ExcelProperty(value = "organization_name", index = 8)
    private String organization_name;

    /**
     * 导入结果
     */
    @ExcelProperty(value = "导入结果", index = 10)
    private String result;

    /**
     * 失败原因
     */
    @ExcelProperty(value = "失败原因", index = 11)
    private String reason;
}
